<!-- header -->
<div class="top">
	<div class="top_cont">
		<div class="logo_cont">
			<a href="<?= URL::site($lang) ?>" title="На главную" class="logo img"><img src="<?= URL::site('static/css/images/logo.png') ?>" alt=""></a>
			<div class="slogan"><?= $sitetext['slogan']['_value'] ?></div>
		</div>
		<div class="top_right_cont">
			<div class="lang_cont">
				<? if ($lang == 'ru'): ?>
					<div class="lang_active">Ру</div>
					<div class="lang"><a href="<?= URL::site('en') ?>">En</a></div>
				<? else: ?>
					<div class="lang"><a href="<?= URL::site('ru') ?>">Ру</a></div>
					<div class="lang_active">En</div>
				<? endif ?>
				<div class="lang" style="width: auto"><a href="<?= URL::site($lang.'/feedback') ?>"><?= $sitetext['write_us']['_value'] ?></a></div>
			</div>
			<div class="tel"><?= $sitetext['header_phone']['_value'] ?></div>
			<div class="clear"></div>
			<div class="menu_cont">
				<? foreach($menu as $key => $item): ?>
					<? if (($c_url == '/'.$lang.$item->link) || ($c_url == '' && ($item->title == 'Главная' || $item->title == 'Main'))): ?>
						<div class="menu_active" <?= ($menu_count == $key + 1) ? 'style="margin-right: 5px"' : '' ?>>
							<?= $item->title ?>
						</div>
					<? else: ?>
						<div <?= ($menu_count == $key + 1) ? 'style="margin-right: 5px"' : '' ?>>
							<a href="<?= URL::site($lang.$item->link) ?>"><?= $item->title ?></a>
						</div>
					<? endif ?>
				<? endforeach ?>
			</div>
		</div>
	</div>
</div>